from traceback import print_tb


python = set(['绮梦','冷伊一','香凝','梓轩'])
c = set(['冷伊一','零语','梓轩','圣博'])
print("选择Python语言的学生有:",python)
print("选择C语言的学生有:",c)
print("交集运算:",python & c)
print("并集运算:",python | c)
print("差集运算:",python - c)

a = {1,2,3,4}
b = {3,4,5,6}

#交
print(a&b)

#并
print(a|b)

#异
print(a^b)

#差
print(a-b)